package com.lagou.demo03.model;

/**
 * 班级的属性：班级名称、年级、班主任名称、班级口号 、班级人数
 */

public class Class {

    private String className;//班级名称
    private String grade;//年级
    private String teacher;//班主任
    private String slogan;//口号
    private int classNumber;//班级人数

    public Class() {
    }

    public Class(String className, String grade, String teacher, String slogan, int classNumber) {
        this.className = className;
        this.grade = grade;
        this.teacher = teacher;
        this.slogan = slogan;
        this.classNumber = classNumber;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public int getClassNumber() {
        return classNumber;
    }

    public void setClassNumber(int classNumber) {
        this.classNumber = classNumber;
    }
}
